package com.gitee.wsl.transform.encode.pinyin.trie

/***
 * Container for a token ("the fragment") that can emit a type of payload.
 *
 *
 * This token indicates a matching search term was not found, so
 * [.isMatch] always returns `false`.
 *
 *
 * @author Daniel Beck
 *
 * @param <T> The Type of the emitted payloads.
</T> */
class PayloadFragmentToken<T>(fragment: String) : PayloadToken<T>(fragment) {

    override val isMatch: Boolean
        get() = false


    override val emit: PayloadEmit<T>?
        /**
         * Returns null.
         */
        get() = null
}
